package com.qingcloud.fexecutor.base.enums;

/**
 * true false枚举
 * @author yangfan
 * @since 2021/11/3
 */
public enum TrueFalseEnum {

    /**
     * false
     */
    FALSE(0),

    /**
     * true
     */
    TRUE(1);

    /**
     * 类型编码
     */
    public final Integer code;

    TrueFalseEnum(int code) {
        this.code = code;
    }

    public Integer getCode() {
        return code;
    }
}
